﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace tour.szhome.common
{
    /// <summary>
    /// 分页后的数据集合
    /// </summary>
    /// <typeparam name="T">数据类型</typeparam>
    public class PageList<T>
    {
        public PageList()
        {
            DataList = new List<T>();
        }

        /// <summary>
        /// 记录总条数
        /// </summary>
        public int RecordCount { get; set; }

        /// <summary>
        /// 分页数据
        /// </summary>
        public List<T> DataList { get; set; }
    }
}
